import random

# 下次编写程序前请尝试理清自己的逻辑
# while循环并非总需要循环控制
# 在循环体中也差不多可以
# 这个东西因地制宜

def guessing_number():
    right:int = random.randint(1,99)
    count = 0
    guess = eval(input())

    while 1:
        if guess > right:
            print("太大") 
            guess = eval(input())

        elif guess < right:
            print("太小")
            guess = eval(input())

        else:
            print("你赢了")
            break


if __name__ == "__main__":
    # 常规输入输出操作
    weight = eval(input("请输入快递重量:"))
    print("地区编号:\n1:华东地区\n2:华南地区\n3:华北地区")
    zone = eval(input("请输入地区编号:"))

    # 使用if判断
    if zone == 1:
        if weight <= 2:
            price = 13
        else:
            price = 3*weight+7
    elif zone == 2:
        if weight <= 2:
            price = 12
        else:
            price = 2*weight+8
    elif zone == 3:
        if weight <= 2:
            price = 14
        else:
            price = 4*weight+6
    
    print(f"快递费为 {price} 元")

        